package com.cnpinxi.domain;

import com.cnpinxi.domain.ConsigneeInfo;
import com.cnpinxi.domain.OrderItem;
import com.cnpinxi.domain.Payment;

import java.util.Date;
import java.util.List;

public class Order {

    public final  static  Byte ORDER_SOURCE_WEB=1;      // 来源网站
    public final  static  Byte ORDER_SOURCE_WECHAT=2;   // 来源微信
    private Long tid;

    private Long orderId;

    private Long userId;

    private Integer orderPrice;

    private Integer orderSourceId;
    private Long activityId;

    private Byte status;

    private Date createTime;

    private String refundReason;
    private String distributionName;
    private String distributionPhone;
    private List<OrderItem> orderItemList;
    private List<Payment> paymentList;
    private ConsigneeInfo consigneeInfo;

    public ConsigneeInfo getConsigneeInfo() {
        return consigneeInfo;
    }

    public void setConsigneeInfo(ConsigneeInfo consigneeInfo) {
        this.consigneeInfo = consigneeInfo;
    }

    public List<OrderItem> getOrderItemList() {
        return orderItemList;
    }

    public void setOrderItemList(List<OrderItem> orderItemList) {
        this.orderItemList = orderItemList;
    }

    public List<Payment> getPaymentList() {
        return paymentList;
    }

    public void setPaymentList(List<Payment> paymentList) {
        this.paymentList = paymentList;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Integer orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Integer getOrderSourceId() {
        return orderSourceId;
    }

    public void setOrderSourceId(Integer orderSourceId) {
        this.orderSourceId = orderSourceId;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDistributionName() {
        return distributionName;
    }

    public void setDistributionName(String distributionName) {
        this.distributionName = distributionName;
    }

    public String getDistributionPhone() {
        return distributionPhone;
    }

    public void setDistributionPhone(String distributionPhone) {
        this.distributionPhone = distributionPhone;
    }
}